<h1 align="center">Cat&aacute;logo de Privilegios</h1>
<div class="area" align="center">
<?php
	echo $this->Form->create();
    echo $this->Form->input('Nombre privilegio');
    echo $this->Form->end('Buscar');
?>
</div>
</br>
<div class="area" align="center">

  <table>
    <tr>
      <th width="72">C&oacute;digo</th>
      <th width="130">Nombre del privilegio</th>
	  <th width="54">Descripci&oacute;n</th>
      </tr>
    
    <!-- Here is where we loop through our $posts array, printing out post info -->
    
    <?php foreach ($Privilegios as $privilegio): ?>
    <tr>
      <td><div align="center"><?php echo $privilegio[0]['idprivilegio']; ?></div></td>
	  <td><div align="left"><?php echo $privilegio[0]['nombrepriv']; ?></div></td>
	  <td><div align="justify"><?php echo $privilegio[0]['descripcionpriv']; ?></div></td>
      </tr>
    <?php endforeach; ?>
    
  </table>
  
 </div>